package com.mt.mtyx.common.utils.generate.generate.table;

/**
 * @author WMT
 * @Date 2023/5/26 17:27
 */
public class FieldData {

    /**
     * 字段名称
     */
    private String columnName;

    /**
     * 字段类型
     */
    private String dataType;

    /**
     * java类型
     */
    private String javaType;

    /**
     * java类型的包名
     */
    private String javaTypePackage;

    /**
     * 字段名称
     */
    private String field;

    /**
     * set get 方法名称
     */
    private String capitalName;

    /**
     * 实体名称
     */
    private String propertyName;

    /**
     * 是否为空
     */
    private String nullState;

    /**
     * 字段备注
     */
    private String comment;

    public FieldData(String columnName, String field, String propertyName, String capitalName, String dataType, String nullState, String comment) {
        this.columnName = columnName;
        this.field = field;
        this.propertyName = propertyName;
        this.capitalName = capitalName;
        this.dataType = dataType;
        this.nullState = nullState;
        this.comment = comment;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getNullState() {
        return nullState;
    }

    public void setNullState(String nullState) {
        this.nullState = nullState;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getJavaTypePackage() {
        return javaTypePackage;
    }

    public void setJavaTypePackage(String javaTypePackage) {
        this.javaTypePackage = javaTypePackage;
    }

    public String getCapitalName() {
        return capitalName;
    }

    public void setCapitalName(String capitalName) {
        this.capitalName = capitalName;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }
}
